﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.NetworkInformation;
using System.IO;

namespace WINADM.Server
{
    public class SystemInfo : WINADM.Server.ISystemInfo
    {

        public NetworkInterface[] GetNetworkInterfaces()
        {
          return NetworkInterface.GetAllNetworkInterfaces(); 
        }
        public string MachineName
        {
            get { return Environment.MachineName; }
        }
        public DateTime TimeStamp
        {
            get { return System.DateTime.Now; }
        }

        public DriveInfo[] GetDrives()
        {
            return DriveInfo.GetDrives();
        }
    }
}
